#pragma  once
#include "cocos2d.h"
#include "Box2D/Box2D.h"
#include "scene_game.h"
#include <winsock2.h>
#include <winsock.h>
#include"fstream"

USING_NS_CC;

using namespace cocos2d;

typedef struct 
{
	unsigned long score;

}data_sen;

typedef struct 
{
	unsigned long  top;
	unsigned long lev;

}data_rec;


class scene_leve : public cocos2d::CCLayer
{
public:
	virtual bool init();
	static cocos2d::CCScene* scene();

	void goback(CCObject*q);

	int  lev_recv();

	CREATE_FUNC(scene_leve);

private:
	data_sen data_send;
	data_rec data_recv;
	char str_[200];
	
	CCLabelTTF *a_1;  //
	CCLabelTTF *a_2;// 
	CCLabelTTF *a_3; 
	CCLabelTTF *a_4;

};

